package com.eastfair.imaster.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author liuxiaobai
 * @since 2021-08-31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "BusinessCircleSaveDTO", description = "")
public class BusinessCircleDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商脉圈类型,TEXT:文本,IMAGE:图片,VIDEO:视频,PRODUCT:展品
     */
    @ApiModelProperty(value = "商脉圈类型,TEXT:文本,IMAGE:图片,VIDEO:视频,PRODUCT:展品")
    @Size(max = 32, message = "商脉圈类型,TEXT:文本,IMAGE:图片,VIDEO:视频,PRODUCT:展品长度不能超过32")
    private String subjectType;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    @Size(max = 100, message = "标题长度不能超过100")
    private String title;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @Size(max = 65535, message = "内容长度不能超过65,535")
    private String content;
    /**
     * 缩略图地址
     */
    @ApiModelProperty(value = "缩略图地址")
    @Size(max = 512, message = "缩略图地址长度不能超过512")
    private String thumbnail;
    /**
     * 图片地址/视频地址/展品ID
     */
    @ApiModelProperty(value = "图片地址/视频地址/展品ID")
    @Size(max = 65535, message = "图片地址/视频地址/展品ID长度不能超过65,535")
    private String mediaUrl;


}
